package com.es.web.base.code;

public enum Code {
	SUCCESS(200, "成功"),
	FAIL(500,"服务器异常"),
	NO_LOGIN(501,"未登录");
	private int code;
	private String msg;
	private Code(int code, String msg){
		this.code = code;
		this.msg = msg;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}

}
